<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>dSFMT: dSFMT-common.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">dSFMT
   &#160;<span id="projectnumber">2.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">dSFMT-common.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>SIMD oriented Fast Mersenne Twister(SFMT) pseudorandom number generator with jump function.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="d_s_f_m_t_8h_source.html">dSFMT.h</a>&quot;</code><br/>
</div>
<p><a href="d_s_f_m_t-common_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a43e33e2235015c9c072bad7dfe1a282c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="d_s_f_m_t-common_8h.html#a43e33e2235015c9c072bad7dfe1a282c">do_recursion</a> (<a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *r, <a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *a, <a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *b, <a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *lung)</td></tr>
<tr class="memdesc:a43e33e2235015c9c072bad7dfe1a282c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function represents the recursion formula.  <a href="#a43e33e2235015c9c072bad7dfe1a282c"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>SIMD oriented Fast Mersenne Twister(SFMT) pseudorandom number generator with jump function. </p>
<p>This file includes common functions used in random number generation and jump.</p>
<dl class="section author"><dt>Author:</dt><dd>Mutsuo Saito (Hiroshima University) </dd>
<dd>
Makoto Matsumoto (The University of Tokyo)</dd></dl>
<p>Copyright (C) 2006, 2007 Mutsuo Saito, Makoto Matsumoto and Hiroshima University. Copyright (C) 2012 Mutsuo Saito, Makoto Matsumoto, Hiroshima University and The University of Tokyo. All rights reserved.</p>
<p>The 3-clause BSD License is applied to this software, see LICENSE.txt </p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a43e33e2235015c9c072bad7dfe1a282c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="d_s_f_m_t-common_8h.html#a43e33e2235015c9c072bad7dfe1a282c">do_recursion</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="d_s_f_m_t_8h.html#ab1ee414cba9ca0f33a3716e7a92c2b79">w128_t</a> *&#160;</td>
          <td class="paramname"><em>lung</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function represents the recursion formula. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>output 128-bit </td></tr>
    <tr><td class="paramname">a</td><td>a 128-bit part of the internal state array </td></tr>
    <tr><td class="paramname">b</td><td>a 128-bit part of the internal state array </td></tr>
    <tr><td class="paramname">lung</td><td>a 128-bit part of the internal state array (I/O) </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="union_w128___t.html#a5f9319b0fdb9a62cc93fb5aade53e641">W128_T::u</a>.</p>

<p>Referenced by <a class="el" href="d_s_f_m_t_8c.html#afccb1e4d75cea7ffe3b45cba53d1e5e0">dsfmt_gen_rand_all()</a>, <a class="el" href="d_s_f_m_t_8c.html#a0002bc60cd5c3227bd12f478a32463ba">gen_rand_array_c0o1()</a>, <a class="el" href="d_s_f_m_t_8c.html#aa56a7244d54e2e8bb162a91ebe098e65">gen_rand_array_c1o2()</a>, <a class="el" href="d_s_f_m_t_8c.html#a0905d57b8333da366b25773f0b3c5326">gen_rand_array_o0c1()</a>, and <a class="el" href="d_s_f_m_t_8c.html#a2bad2f5ded750e7c250a121cdb61166e">gen_rand_array_o0o1()</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 29 2012 16:17:32 for dSFMT by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
